﻿<%@ Page Title="" Language="C#"      AutoEventWireup="true"    MasterPageFile="~/Admin/Admin.Master"   CodeBehind="IndustrySolution_List.aspx.cs" Inherits="TimKen.Web.Admin.IndustrySolution.IndustrySolution_List" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentLinkAction" runat="server">
 <span class="action-span"><a href="IndustrySolution_Add.aspx">
        <%=GetLangString("AddIndustrySolution")%></span>
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="ContentTitle" runat="server">
    <%=GetLangString("IndustrySolutionManage")%>
</asp:Content>

<asp:Content ID="Content3" ContentPlaceHolderID="ContentMain" runat="server">

    <div class="form-div">
        <img src="../images/icon_search.gif" width="26" height="22" border="0" alt="SEARCH" />
         <%=GetLangString("KeyWord")%>：<asp:TextBox ID="txtKeyWord" runat="server"></asp:TextBox>
        <%=GetLangString("CreateDate")%>：<asp:TextBox ID="txtCreateDateBegin" runat="server"
            onFocus="WdatePicker({maxDate:'#F{$dp.$D(\'ctl00_ContentMain_txtCreateDateBegin\')}'})"></asp:TextBox>---
        <asp:TextBox ID="txtCreateDateEnd" runat="server" onFocus="WdatePicker({minDate:'#F{$dp.$D(\'ctl00_ContentMain_txtCreateDateEnd\')}'})"></asp:TextBox>
          <asp:DropDownList ID="ddlLanguage" runat="server"> </asp:DropDownList>
          
        <asp:Button ID="btnSearch" runat="server" CssClass="button" OnClick="btnSearch_Click" />
    </div>
    
    <div class="list-div">
        <!-- 客户列表 -->
        <asp:GridView ID="grdArticleList" runat="server" AutoGenerateColumns="False" DataKeyNames="ID"     OnRowCommand="grdArticleList_RowCommand"
            AllowSorting="True" CssClass="grid">
            <Columns>
                <asp:TemplateField>
                    <ItemStyle Width="350" />
                    <HeaderTemplate>
                        <%=GetLangString("Title")%>
                    </HeaderTemplate>
                    <ItemTemplate>
                        <%#Eval("Title")%>
                    </ItemTemplate>
                </asp:TemplateField>
              
                <asp:TemplateField>
                    <ItemStyle Width="50" />
                    <HeaderTemplate>
                        <%=GetLangString("Author")%>
                    </HeaderTemplate>
                    <ItemTemplate>
                        <%#Eval("Author")%>
                    </ItemTemplate>
                </asp:TemplateField>
                <asp:TemplateField>
                    <ItemStyle Width="80" />
                    <HeaderTemplate>
                        <%=GetLangString("CreateDate")%>
                    </HeaderTemplate>
                    <ItemTemplate>
                        <%#Eval("CreateDate", "{0:yyyy-MM-dd}")%>
                    </ItemTemplate>
                </asp:TemplateField>
                
                <asp:TemplateField>
                    <ItemStyle Width="80" HorizontalAlign="Center" />
                    <HeaderTemplate>
                        <%=GetLangString("Operation")%>
                    </HeaderTemplate>
                    <ItemTemplate>
                        <a href='/Product/IndustrySolution.aspx#<%#DataBinder.Eval(Container.DataItem, "ID")%>'
                            title='<%#GetLangString("DetailInfo")%>'>
                            <img src="../images/icon_detail.gif" /></a>
                            
                             <a href='IndustrySolution_Add.aspx?ArticleID=<%#Eval("ID") %>' title='<%#GetLangString("Edit")%>'>
                            <img src="../images/icon_edit.gif" /></a>
                            
                        <asp:ImageButton ID="btnDelete" runat="server" ToolTip='<%#GetLangString("Delete")%>'
                            CommandName="DeleteEvent" CommandArgument='<%#Eval("ID")%>' ImageUrl="~/Admin/images/icon_drop.gif"
                            OnClientClick="return deleteConfirm()" />
                            
                    </ItemTemplate>
                </asp:TemplateField>
            </Columns>
            <HeaderStyle HorizontalAlign="Center" />
        </asp:GridView>
        <div class="pager-div">
            <ux:AspNetPager ID="AspNetPager1" runat="server" Width="100%"
                HorizontalAlign="right" EnableTheming="true" AlwaysShow="true" PageIndexBoxType="DropDownList"
                OnPageChanged="AspNetPager1_PageChanged" ImagePath="/images/" 
                        NavigationButtonType="Image" ButtonImageNameExtension="n" 
                        CpiButtonImageNameExtension="r" PagingButtonType="Image">
            </ux:AspNetPager>
        </div>
    </div>
    
</asp:Content>
